import request from '@/config/axios'

export function useSysShareApi() {
  return {
    getSysShare: async () => {
      return await request.get({url: '/yxt/sysShare/get'})
    },
    updateSysShare: async (data: any) => {
      return await request.post({url: '/yxt/sysShare/update', data})
    }
  }
}
